﻿<Window x:Class="MultiEventCommand.Views.InfoDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Information" ResizeMode="NoResize"  Width="Auto" Height="Auto" SizeToContent="WidthAndHeight"
        WindowStartupLocation="CenterScreen"  WindowStyle="ToolWindow">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal">
            <Image Height="32" Width="32" Source="../Images/info.png" Margin="2,0,0,0"/>
            <TextBlock Grid.Row="0" x:Name="textblockMessage" Margin="3,10,3,10" TextWrapping="Wrap"></TextBlock>
        </StackPanel>
        <CheckBox Grid.Row="1" x:Name="chkDontShow" IsThreeState="False" Margin="8,10,0,4">Dont Show this again</CheckBox>
        <Button Grid.Row="3" HorizontalAlignment="Center" Width="60" Margin="5" Command="{Binding MergeCommand}" Click="OkClick" Height="27">
            <Button.Content>
                <StackPanel Orientation="Horizontal">
                    <Image Source="../Images/OK.png" Height="16" Width="16"/>
                    <TextBlock>Ok</TextBlock>
                </StackPanel>
            </Button.Content>
            
        </Button>
    </Grid>
</Window>
